<template>
    <div class="common-layout">
        <el-container class="lay-container">
            <CommonAside />
            <el-container class="r-container">
                <el-header>
                    <CommonHeader />
                    <CommonTab></CommonTab>
                </el-header>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script setup lang="ts">
import CommonHeader from '../components/CommonHeader.vue'
import CommonAside from '../components/CommonAside.vue'
import CommonTab from '../components/CommonTab.vue';
</script>

<style scoped lang="less">


.el-main {
    background-color: antiquewhite;
    // padding: 0px;
}
.common-layout {
    height: 100%;
    & > .el-container {
        height: 100%;
        .el-header{
            padding: 0;
        }
        & > .el-aside {
            height: 100%;
            background-color: #545c64;
        }
    }
}
</style>